package org.swidgets.sgrid;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.ServiceDefTarget;

public class TestServiceFactory {

	private static TestServiceAsync testService = (TestServiceAsync) GWT.create(TestService.class);
	static {
		ServiceDefTarget service = (ServiceDefTarget) testService;
		service.setServiceEntryPoint(GWT.getModuleBaseURL()+"/testService");
	}

	public static TestServiceAsync getTestServiceAsync(){
		return testService;
	}
	
}
